<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>use document write</title>
</head>
<body>
<p>write in html directly</p>
<script>
document.write("<h1>This is Header</h1>");
document.write("<p>This is paragraph</p>");
</script>
</body>
</html>
